<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Eloquent;

/**
 * Class MoneyDeposit
 * 
 * @property int $id
 * @property int $hall_id
 * @property int $user_id
 * @property string $name
 * @property string $order_number
 * @property int $amount
 * @property int $coupon_amount
 * @property string $active_name
 * @property int $active_id
 * @property int $coupon_validbet
 * @property int $withdraw_validbet
 * @property string $pay_number
 * @property \Carbon\Carbon $recharge_time
 * @property int $online_pay_id
 * @property int $offline_pay_type
 * @property bool $is_online
 * @property int $pay_bank_id
 * @property string $pay_bank_info
 * @property int $bank_receive_account_id
 * @property string $bank_receive_account_info
 * @property int $created_admin_id
 * @property int $updated_admin_id
 * @property bool $has_send_coupon
 * @property bool $is_first
 * @property bool $is_admin
 * @property string $ip
 * @property int $status
 * @property string $remark
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class MoneyDeposit extends Eloquent
{
	protected $table = 'money_deposit';

	protected $casts = [
		'hall_id' => 'int',
		'user_id' => 'int',
		'amount' => 'int',
		'coupon_amount' => 'int',
		'active_id' => 'int',
		'coupon_validbet' => 'int',
		'withdraw_validbet' => 'int',
		'online_pay_id' => 'int',
		'offline_pay_type' => 'int',
		'is_online' => 'bool',
		'pay_bank_id' => 'int',
		'bank_receive_account_id' => 'int',
		'created_admin_id' => 'int',
		'updated_admin_id' => 'int',
		'has_send_coupon' => 'bool',
		'is_first' => 'bool',
		'is_admin' => 'bool',
		'status' => 'int'
	];

	protected $dates = [
		'recharge_time'
	];

	protected $fillable = [
		'hall_id',
		'user_id',
		'name',
		'order_number',
		'amount',
		'coupon_amount',
		'active_name',
		'active_id',
		'coupon_validbet',
		'withdraw_validbet',
		'pay_number',
		'recharge_time',
		'online_pay_id',
		'offline_pay_type',
		'is_online',
		'pay_bank_id',
		'pay_bank_info',
		'bank_receive_account_id',
		'bank_receive_account_info',
		'created_admin_id',
		'updated_admin_id',
		'has_send_coupon',
		'is_first',
		'is_admin',
		'ip',
		'status',
		'remark'
	];
}
